Owen Taylor [Fri, 23 Nov 2001 20:44:13 +0000 (20:44 +0000)]
Add windows.sgml Revert last diff to get things to build.
Fri Nov 23 15:12:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am (content_files): Add windows.sgml
* gdk/tmpl/cursors.sgml: Revert last diff to get things to
build.
Matthias Clasen [Fri, 23 Nov 2001 20:20:38 +0000 (20:20 +0000)]
Actually commit typo fixes already mentioned in ChangeLog entry on
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag),
gtk/gtkruler.c (gtk_ruler_get_metric): Actually commit typo
fixes already mentioned in ChangeLog entry on 2001-11-14.
* docs/reference/gdk/tmpl/drawing.sgml: Minor markup fixes.
Hans Breuer [Fri, 23 Nov 2001 16:05:39 +0000 (16:05 +0000)]
reflect Pango API change
2001-11-23 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkfont-win32.c (gdk_font_from_description) :
reflect Pango API change
* gtk/gtk.def : updated externals
* gtk/gtkfixed.c (gtk_fixed_get_has_window) : use
g_return_val_if_fail() to avoid 'function must return a value'
* gtk/gtkrc.c : added spaces to fix small coding style issues
* gtk/gtkwidget.c : ... and linebreaks. Also a static for
'static correctness'
* gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
because they only can be build on win32 after applying my patch
Matthias Clasen [Thu, 22 Nov 2001 22:06:37 +0000 (22:06 +0000)]
Add better explanation of proximity events.
* gdk/tmpl/event_structs.sgml: Add better explanation of proximity
events.
* gdk/tmpl/cursors.sgml: Document GdkCursor and standard cursors.
* gdk/images/*.png: The standard X cursors as pngs.
* gdk/Makefile.am (HTML_IMAGES): Add the images.
Tim Janik [Wed, 21 Nov 2001 23:49:17 +0000 (23:49 +0000)]
raise event window afte children, in order for the input pnly window to
Wed Nov 21 22:55:37 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbutton.c (gtk_button_map): raise event window afte
children, in order for the input pnly window to stay *above*
children.
Wed Nov 21 22:44:27 2001 Tim Janik <timj@gtk.org>
* tests/testtreeview.c: make hackery worse ;) by checking fundamental
type walks againts G_TYPE_FUNDAMENTAL_MAX.
* tests/prop-editor.c: disable type hackery.
Owen Taylor [Wed, 21 Nov 2001 22:42:50 +0000 (22:42 +0000)]
Fix problem with lost parameter.
Wed Nov 21 17:41:39 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkimage.c (gdk_image_get): Fix problem with
lost parameter.
Owen Taylor [Wed, 21 Nov 2001 22:08:09 +0000 (22:08 +0000)]
Remove trailing commas in enum declarations.
Wed Nov 21 17:01:25 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcellrenderer.h gtk/gtktreemodel.h
gtk/gtktreeprivate.h gtk/gtktreesortable.h: Remove
trailing commas in enum declarations.
Owen Taylor [Wed, 21 Nov 2001 21:44:08 +0000 (21:44 +0000)]
Version 1.3.11, interface, binary age 0.
Wed Nov 21 15:21:26 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (GTK_MICRO_VERSION): Version 1.3.11,
interface, binary age 0.
* NEWS: Updates
* gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
fixes in docs.
* gtk/gtkmain.h: Remove unused and misnamespaced
get_gtk_win32_directory() prototype.
* gdk/gdkimage.c (gdk_image_get): Fix parameter names
to match header.
* gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
to match docs.
* gdk/gdkevents.c (gdk_event_get_coords)
gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
gtk/gtkdnd.c (gtk_drag_set_icon_stock):
Fix parameter names in docs.
* docs/faq/Makefile.am (FAQ_FILES): Add missing files.
(#64961, Akira Tagoh)
Owen Taylor [Wed, 21 Nov 2001 21:43:47 +0000 (21:43 +0000)]
Updates
Wed Nov 21 15:57:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtk-sections.txt: Updates
* gtk/tmpl/gtkstock.sgml: Close end tags.
* gtk/gtk.types: Remove interface types which gtk-doc
can't handle currently.
* gtk/tmpl/gtknotebook.sgml: Fix some garbage in file.
* gdk/tmpl/x_interaction.sgml: Fix SGML errors.
* gdk/gdk-overrides.txt gdk/gdk-sections.txt: Updates.
Owen Taylor [Wed, 21 Nov 2001 17:04:35 +0000 (17:04 +0000)]
Ref-sink the tooltips object. Ref-sink the tooltips object. Fix some
Wed Nov 21 11:41:29 2001 Owen Taylor <otaylor@redhat.com>
* tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
* gtk/gtktoolbar.c (gtk_toolbar_init): Ref-sink the tooltips object.
* gtk/gtkfilesel.c (open_new_dir): Fix some constness warnings.
* gtk/gtkaccelgroup.c: Rename gtk_accel_groups_from_acceleratable()
back to gtk_accel_groups_from_object(), change @acceleratable
parameter to gtk_accel_groups_activate() accordingly.
* gtk/gtkaccelmap.c (gtk_accel_map_lookup_entry): Remove
left-over comment about quark return.
* gtk/gtkaccelmap.h: Fix spelling of gtk_accel_map_foreach_unfiltered().
* gtk/gtk-boxed.defs (GtkIconSource): added as a boxed type.
(Patch from Matt Wilson)
* gtk/gtkobject.c (gtk_object_finalize): Warn if a floating
object is finalized.
Havoc Pennington [Wed, 21 Nov 2001 03:08:56 +0000 (03:08 +0000)]
fix docs for gtk_window_set_policy() to reflect existence of
2001-11-20 Havoc Pennington <hp@pobox.com>
* gtk/tmpl/gtkwindow.sgml: fix docs for gtk_window_set_policy() to
reflect existence of gtk_window_set_resizable()
Tim Janik [Tue, 20 Nov 2001 23:43:03 +0000 (23:43 +0000)]
applied patch from owen to get rid of accel map notifiers. changed things
Tue Nov 20 21:25:08 2001 Tim Janik <timj@gtk.org>
* applied patch from owen to get rid of accel map notifiers.
changed things to fix reentrancy and API as discussed on gtk-devel.
* gtk/gtkaccelgroup.[hc]:
(gtk_accel_group_finalize): unregister this accel group from all
accel map paths.
(accel_closure_invalidate): handle invalidation of closures by
disconnecting their accelerators.
(quick_accel_add): move closure connection and changed notification
into this function to reduce code duplication. don't emit change
notification on closurers without accelerators.
(quick_accel_remove): rewrite, do the exact opposite of quick_accel_add
for a GtkAccelGroupEntry.
(gtk_accel_group_connect): get rid of the accel_path_quark argument.
(gtk_accel_group_connect_by_path): new function to add accelerators
with an accel path.
(gtk_accel_group_disconnect_closure): new function, disconnect a
closure from of an accel group.
(gtk_accel_group_disconnect): loop over all closure for a accel_ley,
accel_mods pair and remove them.
(_gtk_accel_group_reconnect): new function that basically does
gtk_accel_group_disconnect_closure() and
gtk_accel_group_connect_by_path() once an accel path changed.
(gtk_accel_groups_disconnect_closure): remove this, there's
gtk_accel_group_disconnect_closure().
* gtk/gtkaccelmap.[hc]: keep list of accel groups per entry now,
nuke notifiers.
(_gtk_accel_path_is_valid): make this non-static for
gtkwidget.c and gtkaccelgroup.c assertions.
(gtk_accel_map_add_notifer): removed this function.
(gtk_accel_map_remove_notifer): same.
(_gtk_accel_map_add_group):
(_gtk_accel_map_remove_group): (un-)register accel groups, with
accel paths for correct propagation.
(gtk_accel_map_add_entry): return void.
(gtk_accel_map_lookup): return gboolean instead of GQuark.
* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): always
set accel_path on widgets.
* gtk/gtkwidget.[hc]:
(accel_path_changed): got rid of this, changes are handled by
accel maps internally now.
(_gtk_widget_set_accel_path): get things to work without notifiers.
(gtk_widget_list_accel_closures): list accel closures of a widget.
* gtk/gtkwindow.[hc]: rename ::accels_changed, to ::keys_changed.
Matthias Clasen [Tue, 20 Nov 2001 22:40:41 +0000 (22:40 +0000)]
Typo fix.
* gtk/gtkcontainer.c (gtk_container_propagate_expose): Typo fix.
* gdk/tmpl/event_structs.sgml: Small fixes.
Kristian Rietveld [Tue, 20 Nov 2001 22:04:00 +0000 (22:04 +0000)]
replace gboolean free_last in the function parameters with gint depth.
Tue Nov 20 23:01:01 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path):
replace gboolean free_last in the function parameters with
gint depth. Changes to reflect new situation.
* gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
replace gboolean free_last, with gint depth, add gint current_depth.
Changes to reflect new situation.
* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): changes
to reflect new situation
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): ditto
Owen Taylor [Tue, 20 Nov 2001 17:42:56 +0000 (17:42 +0000)]
Fix problem where notebook gap was double shifted by allocation.x/y
Tue Nov 20 12:37:10 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_paint): Fix problem
where notebook gap was double shifted by allocation.x/y
* gtk/gtknotebook.c (gtk_notebook_unmap): Chain up
to unmap children.
Tim Janik [Tue, 20 Nov 2001 13:55:08 +0000 (13:55 +0000)]
fix allocation to be relative to paned->allocation, now that this is a
Tue Nov 20 14:49:59 2001 Tim Janik <timj@gtk.org>
* gtk/gtkvpaned.c (gtk_vpaned_size_allocate): fix
allocation to be relative to paned->allocation, now
that this is a NO_WINDOW widget.
* gtk/gtkhpaned.c (gtk_hpaned_size_allocate): same here.
* gtk/gtkaccellabel.c (gtk_accel_label_class_init): ::closure
needs to be a boxed property.
Sven Neumann [Tue, 20 Nov 2001 08:11:53 +0000 (08:11 +0000)]
shut up CVS
Kwok-Koon Cheung [Mon, 19 Nov 2001 23:16:34 +0000 (23:16 +0000)]
Usual update.
Owen Taylor [Mon, 19 Nov 2001 22:39:03 +0000 (22:39 +0000)]
Use the widget's state when drawing the indicator, as in GtkCheckButton.
Mon Nov 19 17:34:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator):
Use the widget's state when drawing the indicator, as
in GtkCheckButton. This gives us color changes for
un-prelighted checkbuttons. (#63308, Matt Wilson)
Owen Taylor [Mon, 19 Nov 2001 22:18:23 +0000 (22:18 +0000)]
(Fixes related to #64428, Michael Meeks)
Mon Nov 19 17:11:23 2001 Owen Taylor <otaylor@redhat.com>
(Fixes related to #64428, Michael Meeks)
* gtk/gtkplug.c (gtk_plug_set_is_child): Unmap the
widget, so it gets mapped again properly when we
add to a parent.
* gtk/gtkplug.c (_gtk_plug_add_to_socket): Set
plug->socket_window.
* gtk/gtkplug.c (_gtk_plug_remove_from_socket): Set
socket_window to NULL, not FALSE.
Michael Natterer [Mon, 19 Nov 2001 22:04:24 +0000 (22:04 +0000)]
show notebook->event_window with gdk_window_show_unraised(), so it doesn't
2001-11-19 Michael Natterer <mitch@gimp.org>
* gtk/gtknotebook.c: show notebook->event_window with
gdk_window_show_unraised(), so it doesn't catch the events which
should go to the tab widgets first.
Jonathan Blandford [Mon, 19 Nov 2001 21:18:22 +0000 (21:18 +0000)]
Add a "resizable" property, to get rid of the
Mon Nov 19 15:30:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a
"resizable" property, to get rid of the
GTK_TREE_VIEW_COLUMN_RESIZABLE sizing flag.
(gtk_tree_view_column_set_resizable): New function to set resizable.
(gtk_tree_view_column_set_resizable): getter.
* tests/testtreecolumns.c (add_clicked): modify for above change.
* Makefile.am (install-data-hook): remove old .pc files before
installing the new one. We used to symlink this, and it will
break old installs.
Havoc Pennington [Mon, 19 Nov 2001 20:55:46 +0000 (20:55 +0000)]
put in a test for negative indentation values
2001-11-19 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (fill_example_buffer): put in a test for
negative indentation values
Owen Taylor [Mon, 19 Nov 2001 19:20:21 +0000 (19:20 +0000)]
Change default for justify to GTK_JUSTIFY_LEFT. Assuming that multiline
Mon Nov 19 14:08:18 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Change default for
justify to GTK_JUSTIFY_LEFT. Assuming that multiline
labels are most often wrapped labels, this gives better
compatibility with GTK+-1.2, where justification was
ignored for wrapped labesl and is a more sensible
default in any case. (#64489)
* gtk/gtklabel.c (gtk_label_class_init): Fix default
for wrap property to FALSE.
jacob berkman [Mon, 19 Nov 2001 19:17:49 +0000 (19:17 +0000)]
add gtkmarshal.list
2001-11-19 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list
Owen Taylor [Mon, 19 Nov 2001 18:59:57 +0000 (18:59 +0000)]
Use RevertToParent, not RevertToNone. (#64613, Matthias Clasen)
Mon Nov 19 13:56:45 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
RevertToParent, not RevertToNone. (#64613,
Matthias Clasen)
Owen Taylor [Mon, 19 Nov 2001 17:32:54 +0000 (17:32 +0000)]
label_xalign and label_yalign need to be float properties to correspond to
Mon Nov 19 12:28:02 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkframe.c (gtk_frame_class_init): label_xalign
and label_yalign need to be float properties to
correspond to GTK+-1.2, to gtk_frame_set_label_align,
and to the types of the xalign and yalign properties of GtkMisc.
(#63484, Vitaly Tishkov)
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
of plug_added vfunc. (#64408, Jeff Franks)
Owen Taylor [Mon, 19 Nov 2001 17:25:15 +0000 (17:25 +0000)]
Fix return of plug_added vfunc. (#64408, Jeff Franks)
Mon Nov 19 12:24:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.h (struct _GtkSocketClass): Fix return
of plug_added vfunc. (#64408, Jeff Franks)
Elliot Lee [Mon, 19 Nov 2001 17:15:39 +0000 (17:15 +0000)]
remove "temporary" file that has been in CVS for past year or so
Owen Taylor [Mon, 19 Nov 2001 17:10:22 +0000 (17:10 +0000)]
Undef HAVE_STDLIB_H before checking for jpeg, because jconfig.h has this
Mon Nov 19 12:07:20 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (deps): Undef HAVE_STDLIB_H before
checking for jpeg, because jconfig.h has this
in it too (%#$@!). Fix from Matthias Clasen, #64500.
Owen Taylor [Mon, 19 Nov 2001 16:31:34 +0000 (16:31 +0000)]
Fix a memory leak when retrieving atom names. (Michael Meeks, #64508)
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
memory leak when retrieving atom names. (Michael Meeks,
#64508)
Alex Larsson [Mon, 19 Nov 2001 02:23:56 +0000 (02:23 +0000)]
Update to new Pango API.
2001-11-18 Alex Larsson <alexl@redhat.com>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
Update to new Pango API.
Owen Taylor [Mon, 19 Nov 2001 01:08:51 +0000 (01:08 +0000)]
Rename the GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the
Sun Nov 18 19:47:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.h docs/Changes-2.0.txt: Rename the
GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the
GTK_OBJECT_DESTROYED() check macro.
* gtk/gtkbindings.c (gtk_bindings_activate): Remove
instances of GTK_OBJECT_DESTROYED() that weren't
needed any more.
* gtk/gtkdialog.c: Exchange use of GTK_OBJECT_DESTROYED
for a connection to ::destroy.
Owen Taylor [Sun, 18 Nov 2001 23:33:21 +0000 (23:33 +0000)]
Make a NO_WINDOW widget, as it should have been since the beginning, but
Sun Nov 18 18:18:11 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfixed.c: Make a NO_WINDOW widget, as it should
have been since the beginning, but as special hack,
allow clearing the NO_WINDOW flag to get a window widget.
Kristian Rietveld [Sun, 18 Nov 2001 21:00:53 +0000 (21:00 +0000)]
return TRUE when value changed, so row_changed is being emitted
Sun Nov 18 22:01:36 Kristian Rietveld <kristian@planet.nl>
* gtk/gtktreestore.c: return TRUE when value changed, so
row_changed is being emitted
Hans Breuer [Sun, 18 Nov 2001 15:37:13 +0000 (15:37 +0000)]
make it compile with msvc: !HAVE_UNISTD_H; no label without op, even if
2001-11-18 Hans Breuer <hans@breuer.org>
* gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H;
no label without op, even if it's a no-op.
* gtk/gtk.def :
* gtk/makefile.msc.in : reflect marshaler split, some clean-up
* config.h.win32.in : remove definition of HAVE_DIRENT_H
* gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't
required anymore, replace it.
* gtk/queryimmodules.c : DIR -> GDir replacement, also
getcwd() -> g_get_current_dir()
* gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c
Even 'noisy laugh' scolling appears to work, though I still can't
claim to have fully understood what it is supposed to do ...
Hans Breuer [Sun, 18 Nov 2001 15:33:18 +0000 (15:33 +0000)]
use g_strcasecmp(), some poor platforms don't have strcasecmp()
2001-11-18 Hans Breuer <hans@breuer.org>
* io-xpm.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
* makefile.msc : do INCLUDE_png etc. definition here to avoid
my temporary 'gdk-pixbuf-io-include.h' hack
Owen Taylor [Sun, 18 Nov 2001 12:55:47 +0000 (12:55 +0000)]
Remove include of gobject/signal.h.
Sun Nov 18 07:54:22 2001 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf-loader.c: Remove include of gobject/signal.h.
Owen Taylor [Sun, 18 Nov 2001 02:15:52 +0000 (02:15 +0000)]
Include glib-object.h instead of gobject/gsignal.h
Sat Nov 17 21:07:46 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkenums.h: Include glib-object.h instead of
gobject/gsignal.h
* gdk/{gdkinternals.h,gdkwindow.c,gdkwindow.[ch],
x11,{fb,win32,x11/gdkwindow-*.c}: Add a dummy GdkScreen
argument to the window_at_pointer() field of
GdkPointerHooks. (Patch from Erwann Chenede)
* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Up
to 6 pointers.
Matt Wilson [Sun, 18 Nov 2001 02:07:37 +0000 (02:07 +0000)]
must include glib-object.h only
2001-11-17 Matt Wilson <msw@redhat.com>
* gtk/gtkenums.h: must include glib-object.h only
Owen Taylor [Sun, 18 Nov 2001 00:34:23 +0000 (00:34 +0000)]
Reprioritize key bindings in order of visibility - mnemonics, then
Sat Nov 17 19:26:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_key_press_event): Reprioritize
key bindings in order of visibility - mnemonics, then
accelerators, then send key to the focus widget, then
bindings on the GtkWindow.
* gtk/gtklayout.h docs/Changes-2.0.txt tests/testgtk.c:
Removed the xoffset, yoffset fields of GtkLayout which were
identically zero for compat with 1.2, but were no longer
compatible with all uses of these fields in 1.2.
* gtk/gtkwindow.c (gtk_window_set_default): Remove
unused variable.
Owen Taylor [Sun, 18 Nov 2001 00:10:57 +0000 (00:10 +0000)]
We no longer need to create the signals here ... they come from the
Sat Nov 17 19:08:13 2001 Owen Taylor <otaylor@redhat.com>
* tests/testtreeview.c (gtk_tree_model_types_get_type):
We no longer need to create the signals here ... they
come from the interface.
* gtk/maketypes.awk: Use GType, not GtkType in output.
* gtk/gtktypeutils.h: Mark virtually all of this
file deprecated.
* gtk/gtkcontainer.h: Deprecate gtk_container_foreach_full;
the only use of this function is the GtkArg using
GtkCallbackMarshal, since destroy notification is
silly here.
Owen Taylor [Sat, 17 Nov 2001 23:28:51 +0000 (23:28 +0000)]
Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2;
Sat Nov 17 18:26:45 2001 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
only for compatibility with GTK+-1.2; and deprecate it;
put all marshalers we actually use into gtkmarshalers.list
and use the _gtk_marshal_ prefix for these marshalers.
Murray Cumming [Sat, 17 Nov 2001 03:57:21 +0000 (03:57 +0000)]
gtk/gtktexttagtable.c (gtk_text_tag_table_class_init):
The first parameters of the signals are now registered as GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT.
Tor Lillqvist [Sat, 17 Nov 2001 02:13:25 +0000 (02:13 +0000)]
Build separate runtime and developer packages.
2001-11-17 Tor Lillqvist <tml@iki.fi>
* gtk-zip.sh.in: Build separate runtime and developer
packages.
* gtk/gtk.def: Reflect recent accelerator-related changes.
Owen Taylor [Sat, 17 Nov 2001 01:18:49 +0000 (01:18 +0000)]
Move notification of "has_default" to here, so it is safe to call
Fri Nov 16 19:44:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_set_default): Move
notification of "has_default" to here, so it
is safe to call gtk_window_set_default() instead
of gtk_widget_grab_default().
* gtk/gtkwindow.c (gtk_window_set_focus): Make it call
gtk_widget_grab_focus(), which then calls
_gtk_widget_internal_set_focus(). This makes
gtk_window_set_focus() a safe way of both setting
and unsetting the focus widget.
* gtk/gtkwidget.c (gtk_widget_propagate_state): Use
gtk_widget_get_toplevel(), instead of gtk_widget_ancestor
to find the toplevel.
* gtk/gtkwindow.h: Move gtk_window_set_focus/default
from the "internal functions" section.
Matthias Clasen [Sat, 17 Nov 2001 00:44:31 +0000 (00:44 +0000)]
Updates.
* gdk/tmpl/event_structs.sgml: Updates.
* gdk/tmpl/windows.sgml: Document GdkFilterFunction, GdkFilterReturn
and GdkXEvent, add markup.
Jacob Berkman [Fri, 16 Nov 2001 22:58:32 +0000 (22:58 +0000)]
move the separator to the right place in the radio buttons window
jacob berkman [Fri, 16 Nov 2001 22:56:21 +0000 (22:56 +0000)]
add some no-indicator radio buttons
2001-11-16 jacob berkman <jacob@ximian.com>
* tests/testgtk.c (create_radio_buttons): add some no-indicator
radio buttons
* gtk/gtkradiobutton.c (gtk_radio_button_init): since we are
initially active, also initially be depressed
(gtk_radio_button_clicked): also update our depressed state
Owen Taylor [Fri, 16 Nov 2001 22:20:00 +0000 (22:20 +0000)]
Propagate key press events not just to focus/window but also to
Thu Nov 15 12:54:36 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_key_press_event): Propagate
key press events not just to focus/window but also to
intermediate widgets.
* gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown
to switch pages. (Needs some work on handling focus
when switching pages.)
Owen Taylor [Fri, 16 Nov 2001 19:19:30 +0000 (19:19 +0000)]
Fix child allocations to be relative to widget position and some drawing
Fri Nov 16 14:06:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c: Fix child allocations to be relative to
widget position and some drawing bugs.
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem
with reading uninitialized variable.
Owen Taylor [Fri, 16 Nov 2001 16:54:16 +0000 (16:54 +0000)]
Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann)
Thu Nov 15 14:19:34 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
gdk_window_invalidate_maybe_recurse() for recursion.
(Soeren Sandmann)
Owen Taylor [Fri, 16 Nov 2001 15:20:28 +0000 (15:20 +0000)]
Make Menu items NO_WINDOW widgets.
Fri Nov 16 00:16:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c,
gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items
NO_WINDOW widgets.
* gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some
cleanup.
* gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume
we are drawing in a window when drawing the paned handle.
Fatih Demir [Fri, 16 Nov 2001 14:15:40 +0000 (14:15 +0000)]
Updated tr.po
Sven Neumann [Fri, 16 Nov 2001 11:50:04 +0000 (11:50 +0000)]
demos/gtk-demo/appwindow.c reduce compiler warnings
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Owen Taylor [Fri, 16 Nov 2001 00:51:56 +0000 (00:51 +0000)]
Remove unused callback to make things compile with
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove
unused callback to make things compile with
gtk_tree_view_path_at_pos_change().
Jonathan Blandford [Thu, 15 Nov 2001 23:46:05 +0000 (23:46 +0000)]
maybe fix #64160 Also, forgot to save gtktreeview.h
Thu Nov 15 18:44:33 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
Also, forgot to save gtktreeview.h
Matthias Clasen [Thu, 15 Nov 2001 23:18:15 +0000 (23:18 +0000)]
Move '.' out of quote. (#64407)
* gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)
Jonathan Blandford [Thu, 15 Nov 2001 22:20:18 +0000 (22:20 +0000)]
New function to get a GdkWindow to compare event->window to.
Thu Nov 15 16:24:55 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
to get a GdkWindow to compare event->window to.
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
the signal for lateral motion too, #64361
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
arg as it is useless, #64137
Owen Taylor [Thu, 15 Nov 2001 21:12:27 +0000 (21:12 +0000)]
Some small drawing fixes for scroll arrows.
Thu Nov 15 16:07:42 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.
Owen Taylor [Thu, 15 Nov 2001 21:04:51 +0000 (21:04 +0000)]
Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann)
Thu Nov 15 14:19:34 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
gdk_window_invalidate_maybe_recurse() for recursion.
(Soeren Sandmann)
* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
* gtk/gtkcontainer.c (gtk_container_expose): Call
gtk_container_forall() not _foreach() to propagate,
since we need to propagate exposes to internal children
as well.
* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
Remove the restriction of only being able to call these
on window widgets, since we have lots of NO_WINDOW widgets
with windows now; for add events, recurse over the children
of widget->window to find one owned by the widget.
* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
window to catch events.
* gtk/gtktogglebutton.[ch]: Remove the code for switching
between NO_WINDOW and WINDOW widgets based on the mode.
* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
change for range.
* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
Matthias Clasen [Thu, 15 Nov 2001 19:52:07 +0000 (19:52 +0000)]
Go back to DocBook 3.0 to get the autobuilder on developer.gnome.org back
* gtk/gtk-docs.sgml: Go back to DocBook 3.0 to get the
autobuilder on developer.gnome.org back to work, but add
the png notation for the stock icons.
Owen Taylor [Thu, 15 Nov 2001 17:58:35 +0000 (17:58 +0000)]
Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT
Thu Nov 15 11:59:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c: Patch from Murray Cumming to add
"message_type" and "buttons" CONSTRUCT properties. (#64069)
* tests/testsocket.c: Expand tests to add a "local passive
child" (Test case for #64428)
jacob berkman [Wed, 14 Nov 2001 23:59:03 +0000 (23:59 +0000)]
create the label with a mnemonic
2001-11-14 jacob berkman <jacob@ximian.com>
* gtk/gtkgamma.c (button_clicked_callback): create the label with
a mnemonic
Sven Neumann [Wed, 14 Nov 2001 23:20:31 +0000 (23:20 +0000)]
make it compile without warnings.
2001-11-15 Sven Neumann <sven@gimp.org>
* tests/testgtk.c: make it compile without warnings.
Alex Larsson [Wed, 14 Nov 2001 23:10:53 +0000 (23:10 +0000)]
Don't recalculate the layout on each gkt_label_ensure_layout () for
2001-11-14 Alex Larsson <alexl@redhat.com>
* gtk/gtklabel.c:
Don't recalculate the layout on each gkt_label_ensure_layout () for
wrapped labels.
Jonathan Blandford [Wed, 14 Nov 2001 22:52:43 +0000 (22:52 +0000)]
Return the currently selected column when we get the column, #64380
Wed Nov 14 17:40:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Return
the currently selected column when we get the column, #64380
* gtk/gtkentry.c (gtk_cell_editable_key_press_event): Handle Esc
to cancel CellRendererText editting, #63613
* gtk/gtkcellrenderertext.c: ditto
* gtk/gtkcellrenderertext.h: formatting changes
Matthias Clasen [Wed, 14 Nov 2001 22:39:35 +0000 (22:39 +0000)]
Add --sgml-mode.
* docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
* docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent shor
Matthias Clasen [Wed, 14 Nov 2001 22:36:23 +0000 (22:36 +0000)]
Rearrange docs (#64566)
* gtk/gtkbutton.c (gtk_button_get_label): Rearrange docs (#64566)
* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Typo fix (#64474)
* gtk/gtkruler.c (gtk_ruler_get_metric): Typo fix (#64470)
* gtk/gtknotebook.c (gtk_notebook_prepend_page): Typo fix (#64467)
* gtk/gtklabel.c: Documentation fixes (#64452)
* docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
* docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent short descriptions.
* docs/reference/gtk/tmpl/gtkprogressbar.sgml: Remove duplicate docs. (#64469)
* docs/reference/gtk/gtk-sections.txt: Add missing TITLEs (#64459, #6456
Daniel Egger [Wed, 14 Nov 2001 21:50:00 +0000 (21:50 +0000)]
Remove unused static function. (xpm_skip_string): Dito.
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Owen Taylor [Wed, 14 Nov 2001 20:20:03 +0000 (20:20 +0000)]
Back out accidental commit of debugging timing code
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
out accidental commit of debugging timing code
Havoc Pennington [Wed, 14 Nov 2001 19:05:21 +0000 (19:05 +0000)]
fix Control-E so it doesn't move to a new line each time you press it
2001-11-14 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_move_cursor): fix Control-E so
it doesn't move to a new line each time you press it
* gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix
return value, #62987
Havoc Pennington [Wed, 14 Nov 2001 18:58:26 +0000 (18:58 +0000)]
bulk of the tests were commented out, oops.
2001-11-14 Havoc Pennington <hp@redhat.com>
* tests/testtextbuffer.c (main): bulk of the tests were commented
out, oops.
* gtk/gtktextiter.c (find_paragraph_delimiter_for_line): make this
function work, should resolve #63426
(gtk_text_iter_ends_line): return TRUE for the end iterator
* gtk/gtktextiter.h: put padding back in GtkTextIter, I thought of
a couple things that might get cached in here.
Kjartan Maraas [Wed, 14 Nov 2001 15:02:49 +0000 (15:02 +0000)]
Updated Norwegian (bokmål) translation.
2001-11-14 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Tim Janik [Wed, 14 Nov 2001 03:03:54 +0000 (03:03 +0000)]
param spec fix
Jonathan Blandford [Wed, 14 Nov 2001 02:06:28 +0000 (02:06 +0000)]
new "model" construct property for language bindings.
Tue Nov 13 21:00:59 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new
"model" construct property for language bindings.
* gtk/gtktreestore.c (gtk_tree_store_set_column_types): New
function to let you set the column types of a GtkTreeStore for
language bindings.
* gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.
Havoc Pennington [Wed, 14 Nov 2001 00:33:45 +0000 (00:33 +0000)]
add set_border_width for testing
Havoc Pennington [Wed, 14 Nov 2001 00:26:14 +0000 (00:26 +0000)]
docs including reference to bugzilla bug about how we should have a better
2001-11-13 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_add_child_in_window): docs
including reference to bugzilla bug about how we should have
a better way of positioning children
* gtk/gtktextview.h (struct _GtkTextViewClass): add some padding
* gtk/gtktextview.c (gtk_text_view_size_allocate): assign zero
size to side rects if they don't exist, #63438
Havoc Pennington [Tue, 13 Nov 2001 23:56:11 +0000 (23:56 +0000)]
fix to properly replace selection with Return or Tab
2001-11-13 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_key_press_event): fix to
properly replace selection with Return or Tab
* gtk/gtktextdisplay.c (gtk_text_layout_draw): fix broken code
that didn't locate the end of the line correctly, should fix #63800
Havoc Pennington [Tue, 13 Nov 2001 23:36:18 +0000 (23:36 +0000)]
add border width to requisition, request non-anchored children
2001-11-13 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_size_request): add border width
to requisition, request non-anchored children
(gtk_text_view_size_allocate): handle border width, allocate
non-anchored children
(text_view_child_new_window): set the child as object data
(gtk_text_view_move_child): allow children at negative
coordinates, no reason why not
(gtk_text_view_forall): make it copy the list of children before
walking it, to avoid reentrancy issues
(gtk_text_view_move_child): short-circuit if position is unchanged
(changed_handler): only queue_resize if requisition has changed
(gtk_text_view_init): don't redraw_on_allocate, since we can do
a better job of invalidation ourselves
* tests/testtext.c: add tests for the fixed-position children
Tim Janik [Tue, 13 Nov 2001 18:52:25 +0000 (18:52 +0000)]
protect idle handle with gdk threads macro.
Tue Nov 13 19:51:43 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (handle_accels_changed): protect idle handle
with gdk threads macro.
Tim Janik [Tue, 13 Nov 2001 00:53:47 +0000 (00:53 +0000)]
added gtkaccelmap.sgml. other updates.
Mon Nov 12 23:06:38 2001 Tim Janik <timj@gtk.org>
* added gtkaccelmap.sgml. other updates.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
* gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator
registry.
* gtk/gtkaccelgroup.[hc]: major API/implementation revamp:
removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default,
gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry,
gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove,
gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object.
introduced ::accel_changed signal for change notification, and
gtk_accel_group_connect/disconnect to connect closures to accel groups.
made gtk_accel_group_attach/detach and gtk_accel_group_activate private
functions.
deprecated gtk_accel_group_ref/unref.
* gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention
to accel group changed notification and basically operate on closures.
removed gtk_accel_label_get_accel_object and
gtk_accel_label_set_accel_object.
introduced gtk_accel_label_set_accel_closure, and for convenience,
gtk_accel_label_set_accel_widget.
* gtk/gtkitemfactory.[hc]: removed accelerator propagation code
which mostly moved into gtkaccelmap.[hc].
removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_*
and gtk_item_factory_print_func.
* gtk/gtkmain.c: call _gtk_accel_map_init().
* gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(),
that associates an accelerator path with menu items, through which
persistent accelerator settings on menu items are enabled.
* gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator
paths of menu item can be default constructed to allow installation
of accelerators on menu items that don't come with an accelerator
binding by default.
* gtk/gtksettings.c: fix STRING type rc settings by special casing
them appropriately in the parser.
* gtk/gtksignal.[hc]: allow a class function offset of 0 for
gtk_signal_newv().
* gtk/gtkwidget.[hc]: accelerator API revamp.
removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal,
gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and
gtk_widget_(un)lock_accelerators.
accelerators maintained through gtk_widget_add/remove_accelerator()
are not runtime changable now, the correct sequence to setup a
widget for runtime changable accelerators is now:
gtk_accel_map_add_entry(accel_path, key, mods);
_gtk_widget_set_accel_path(widget, accel_path, accel_group);
* gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel
group changes (as well as mnemonic changes) through the new signal
::accels_changed.
Sat Nov 10 12:08:56 2001 Tim Janik <timj@gtk.org>
* gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle
GString->string conversions.
Owen Taylor [Tue, 13 Nov 2001 00:35:24 +0000 (00:35 +0000)]
Warn
Mon Nov 12 19:33:52 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn
Matthias Clasen [Mon, 12 Nov 2001 22:50:58 +0000 (22:50 +0000)]
new files explaining where the code for rendering pixbufs lives. (#61151)
* gdk-pixbuf/gdk-pixbuf-rendering.sgml,
gdk-pixbuf/gdk-pixbuf-from-drawables.sgml: new files explaining
where the code for rendering pixbufs lives. (#61151)
* gdk-pixbuf/gdk-pixbuf.sgml: Use the new files.
Matthias Clasen [Mon, 12 Nov 2001 22:29:13 +0000 (22:29 +0000)]
Documentation fixes. (#64377)
* gtk/gtktreeview.c: Documentation fixes. (#64377)
* gtk/gtktreestore.c: Documentation fixes. (#64376)
Fatih Demir [Sun, 11 Nov 2001 12:03:12 +0000 (12:03 +0000)]
Update.
Stanislav Visnovsky [Sun, 11 Nov 2001 11:53:54 +0000 (11:53 +0000)]
Updated Slovak translation.
2001-11-11 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Matthias Clasen [Sat, 10 Nov 2001 22:06:44 +0000 (22:06 +0000)]
Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108,
* gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c,
gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c,
gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs.
(#63544, #57007, #64141, #63472, #57108, #60818, #61562)
* gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml,
gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml,
gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml,
gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml:
Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918,
#64154, #60422, #54697)
Hans Breuer [Sat, 10 Nov 2001 13:23:36 +0000 (13:23 +0000)]
make sure we know what we are talking about when asked for MINMAXINFO.
2001-11-10 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
we know what we are talking about when asked for MINMAXINFO.
Also some cleaning for !HAVE_DIMM_H etc.
Matthias Clasen [Sat, 10 Nov 2001 01:30:31 +0000 (01:30 +0000)]
Fix docs for gtk_tree_view_column_set_sort_order. (#62647)
* gtk/gtktreeviewcolumn.c: Fix docs for
gtk_tree_view_column_set_sort_order. (#62647)
* gtk/gtkcontainer.c: Fix docs for
gtk_container_set_border_width. (#64139)
* gtk/gtkcolorsel.c: Documentation fixes.
* gtk/tmpl/gtkpaned.sgml: Document gtk_paned_set_gutter_size
as noop. (#45802)
* gtk/tmpl/gtkcolorsel.sgml: Remove stuff duplicating inline
docs. (#60481)
Matthias Clasen [Sat, 10 Nov 2001 00:02:13 +0000 (00:02 +0000)]
Document all stock items with their stock text.
* gtk/tmpl/gtkstock.sgml: Document all stock items
with their stock text.
* gtk/tmpl/gtkhseparator.sgml: Small corrections.
* gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates.
Hans Breuer [Fri, 9 Nov 2001 21:52:52 +0000 (21:52 +0000)]
use g_strcasecmp(), some poor platforms don't have strcasecmp()
2001-10-28 Hans Breuer <hans@breuer.org>
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
don't have strcasecmp()
* gtk/gtktextview.c : to fix crashing on e.g. TextView::find need
to remove the idle funcs in gtk_text_view_destroy (). To reduce
code duplication wrap it in its own function and use it in
gtk_text_view_unrealize () and gtk_text_view_destroy_layout ()
* gdk/win32/gdkdrawable-win32.c : implement the finalize
method like the X11 version does, allow to set_colormap NULL
* gdk/win32/gdkwindow-win32.c : adapt GdkWindowImplWin32::
set_colormap, also some adaption to X11 version :
(gdk_window_hide) call _gdk_window_clear_update_area
(gdk_window_reparent) call _gdk_window_init_position
* gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints) :
call gdk_window_resize() after all hints are set, because the
window resizing process (WM_GETMINMAXINFO) takes all of them into
account
* gdk/win32/gdkfont-win32.c : make gdk_font_equal return a gboolean
* gdk/win32/gdkvisual-win32.c : register GdkVisual with
sizeof (GdkVisualPrivate)
* gdk/gdk.def gtk/gtk.def : upated externals
* gdk/makefile.msc gdk/win32/makefile.msc gdk-pixbuf/makefile.msc
gdk-pixbuf/pixops/makefile.msc gtk/makefile.msc.in tests/makefile.msc :
from now on use make.msc from $(TOP)/glib/build/win32
* gtk/stock-icons/makefile.msc : add stock_missing_image
Tor Lillqvist [Thu, 8 Nov 2001 20:57:18 +0000 (20:57 +0000)]
Add headers. Add section about ActiveIMM.
2001-11-08 Tor Lillqvist <tml@iki.fi>
* README.win32: Add headers. Add section about ActiveIMM.
* configure.in: Add --with-ie55 flag to specify the location of
the "IE55 libs and headers" package downloadable from Microsoft,
which contains, among other things, the Active IMM header dimm.h
and UUID library uuid.lib. Use test -f instead of AC_CHECK_FILE.
Require GLib 1.3.10.
* config.h.win32.in: New version, produced by merging two
configure-generated ones (for gcc and MSVC). Hopefully #defines
the same flags that the previous, hand-written one, did.
* gdk/Makefile.am
* gdk/win32/Makefile.am: Handle the uuid library from the IE55 lib.
* gdk/win32/gdkevents-win32.c: Conditionalize ActiveIMM
stuff. Remove unused GdkIOClosure.
* gdk/win32/surrogate-dimm.h: Remove, use real dimm.h instead (if
available).
* gdk/win32/libie55uuid.la: New file, handwritten libtool wrapper
for uuid.lib. (Does it really have to be this hard to use an
existing library with libtool? Probably I am missing something.)
Darin Adler [Thu, 8 Nov 2001 18:56:23 +0000 (18:56 +0000)]
Fix an obvious typo where it says LEFT instead of CENTER.
* gtk/gtklabel.c: (gtk_label_ensure_layout): Fix an obvious
typo where it says LEFT instead of CENTER.
Darin Adler [Wed, 7 Nov 2001 18:12:25 +0000 (18:12 +0000)]
Add g_return_if_fail.
* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.
Owen Taylor [Tue, 6 Nov 2001 19:10:03 +0000 (19:10 +0000)]
Add row_draggable() vfunc, and wrapper function.
Mon Nov 5 22:34:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
Add row_draggable() vfunc, and wrapper function.
* gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make
row_drop_possible take a GtkSelectionData, rather than
model/row pair.
* gtk/gtktreestore.c gtk/gtkliststore.c: Update for
new DND interfaces.
* gtk/gtktreeview.[ch]: Remove the row_draggable_func
location_dropable_func from gtk_tree_view_set_rows_drag_source/dest.
and rename them to enable_model_drag_source/dest.
* gtk/treeviewcolumn.c: Add DND of columns between rows.
Still can't drop _to_ the left tree, but other places
work.
* gtk/gtktreeview.c (unset_reorderable): Unset the
reorderable property if unset/enable_model_drag_source/dest
are called manually.
* gtk/gtktreestore.c (gtk_tree_store_row_drop_possible):
Correct for change in depth count handling.
* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
Pass in a expose area to gtk_tree_view_column_cell_render()
Havoc Pennington [Tue, 6 Nov 2001 18:25:15 +0000 (18:25 +0000)]
wacky easter egg
2001-11-06 Havoc Pennington <hp@redhat.com>
* demos/gtk-demo/textview.c (easter_egg_callback): wacky easter egg
Havoc Pennington [Tue, 6 Nov 2001 17:12:42 +0000 (17:12 +0000)]
lost this file due to CVS broken pipe
Owen Taylor [Tue, 6 Nov 2001 15:14:09 +0000 (15:14 +0000)]
Fix misplaced HAVE_XFT.
Tue Nov 6 10:13:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkgc-x11.c: Fix misplaced HAVE_XFT.
Havoc Pennington [Tue, 6 Nov 2001 00:54:24 +0000 (00:54 +0000)]
expose the child widgets in here (gtk_text_view_realize): set parent
2001-11-05 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_paint): expose the child
widgets in here
(gtk_text_view_realize): set parent window of child widgets
(gtk_text_view_size_request): use child req to decide whether
to invalidate layout, not widget->requisition
* gtk/gtktextdisplay.c (render_layout_line): set
shaped_width_pixels for NULL shape objects, so that we properly
draw the "missing pixbuf/widget" thing
(render_layout_line): don't draw the widget here
(gtk_text_layout_draw): pass out a list of widgets that need exposing
* demos/gtk-demo/textview.c (insert_text): add demo of child
widgets
* gtk/gtktextlayout.c (add_child_attrs): remove debug spew
* gtk/gtktextdisplay.c (render_layout_line): remove debug spew
* gtk/gtktextview.c (gtk_text_view_update_child_allocation): add
scroll offsets
(gtk_text_view_value_changed): poke new X and Y into child allocations